package com.san.hkhospital.service;

import java.util.List;
import java.util.Map;

import com.san.hkhospital.entity.Account;
import com.san.hkhospital.entity.AccountExample;
    /**
 * ClassName:AccountService
 * PackageName:com.san.hkhospital.service
 * Description:
 *
 * @Author:yy
 * @CreatedAt:2024/11/13 14:38
 * 
 */
 
 
public interface AccountService{


    long countByExample(AccountExample example);

    int deleteByExample(AccountExample example);

    int deleteByPrimaryKey(Integer accId);

    int insert(Account record);

    int insertSelective(Account record);

    List<Account> selectByExample(AccountExample example);

    Account selectByPrimaryKey(Integer accId);

    int updateByExampleSelective(Account record,AccountExample example);

    int updateByExample(Account record,AccountExample example);

    int updateByPrimaryKeySelective(Account record);

    int updateByPrimaryKey(Account record);

        List<Account> accountList();

        boolean addAccount(Account account);

        List<Account> searchList(Map<String, String> params);
    }
